package com.resouxs.free_book.service;

import java.util.ArrayList;
import java.util.List;

public class ZsBookChapter {
    private String _id;
    private String link;
    private String source;
    private String name;
    private String book;
    private List<ZsChapter> chapters = new ArrayList<>();

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ZsChapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<ZsChapter> chapters) {
        this.chapters = chapters;
    }

    @Override
    public String toString() {
        return "ZsBookChapter{" +
                "_id='" + _id + '\'' +
                ", link='" + link + '\'' +
                ", source='" + source + '\'' +
                ", name='" + name + '\'' +
                ", book='" + book + '\'' +
                ", chapters=" + chapters +
                '}';
    }
}
